/* Copyright (c) 2004-2022 peigen.info. All rights reserved. */

package info.peigen.hotpot.common.core.domain.order;

import info.peigen.hotpot.common.core.annotation.Comment;
import info.peigen.hotpot.common.core.lang.money.Money;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import lombok.experimental.FieldDefaults;
import lombok.experimental.SuperBuilder;

/**
 * <b>(OrderGoods)</b>
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2021/9/24
 */
@SuperBuilder
@Data
@NoArgsConstructor
@AllArgsConstructor
@FieldDefaults(level = AccessLevel.PRIVATE)
@Accessors(chain = true)
public class OrderGoods {
    @Comment(value = "商品名称")
    String name;
    @Comment(value = "商品数量")
    Double quantity;
    @Comment(value = "单价")
    Money  price;
}